require(["config"], function(){
	require(["jquery","template", "header", "footer","lunbotu","cookie"], function($,template,header){
		$.getJSON("http://rap2api.taobao.org/app/mock/25329/api/content",function(data){
            //模板引擎渲染
            const html = template("list_temp",{list:data.res_body.data});
            $(".list_box").html(html);
        });
        $.getJSON("http://rap2api.taobao.org/app/mock/25329/api/daily-use",function(data){
            //模板引擎渲染
            const html = template("daily_temp",{list5:data.res_body.data});
            $(".right_parts").html(html);
        });
        $.getJSON("http://rap2api.taobao.org/app/mock/25329/api/daily-use",function(data){
            //模板引擎渲染
            const html = template("health_temp",{list1:data.res_body.data});
            $(".right_parts1").html(html);
        });
        $.getJSON("http://rap2api.taobao.org/app/mock/25329/api/daily-use",function(data){
            //模板引擎渲染
            const html = template("child_temp",{list2:data.res_body.data});
            $(".right_parts2").html(html);
        });
        $.getJSON("http://rap2api.taobao.org/app/mock/25329/api/daily-use",function(data){
            //模板引擎渲染
            const html = template("fashion_temp",{list3:data.res_body.data});
            $(".right_parts3").html(html);
        });
        $.getJSON("http://rap2api.taobao.org/app/mock/25329/api/daily-use",function(data){
            //模板引擎渲染
            const html = template("tec_temp",{list4:data.res_body.data});
            $(".right_parts4").html(html);
        });
	});
});